//
//  WmcMediaAlbumConfigurationModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/9/15.
//

import Foundation
import YPNetwork

class WmcMediaAlbumConfigurationModel: YPNetworkJsonProtocol {
    
    required init() {
        
    }
    
    enum AlbumType: Int {
        case personal = 0
        case team = 1
    }
    
    /// 相册类型 0：个人 1：团队
    var albumType: Int = 0
    
    /// 相册id
    var albumId: Int = 0
    
    /// 相册名称
    var name: String = ""
    
    /// 是否开启同步
    var isSync: Bool = false
    
    /// 创建时间
    var createdTime: String = ""
    
    /// 业务id 团队相册为团队id 个人相册为鱼泡id
    var busId: Int = 0
    
    /// 团队创建者uid
    var createdUid: Int = 0
    
    func mapping(mapper: HelpingMapper) {
        mapper <<< self.createdTime <-- "createdAt"
    }
}
